<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">订单编号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sn" class="form-control" name="row[sn]" type="text" readonly="" value="{$operationInfo.sn|default=$appointments.sn}">
        </div>
    </div>
    
    <input id="c-shop_id" data-rule="required"  class="form-control" name="row[shop_id]" type="hidden" value="{$appointments.shop_id}">
    <input id="c-id"  class="form-control" name="row[id]" type="hidden" value="{$operationInfo.id|default=""}">
    <input id="c-appointment_id" data-rule="required"  class="form-control" name="row[appointment_id]" type="hidden" value="{$appointments.id}">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">会员姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="" data-field="username" class="form-control selectpage" data-source="user/index" name="row[user_id]" type="text" value="{$operationInfo.user_id|default=$appointments.user_id}" disabled="">

        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">房间:</label>
        <div class="col-xs-12 col-sm-8">
             <input id="c-house_id" data-rule="" data-field="name" class="form-control selectpage" data-source="house/index" name="row[house_id]" type="text" value="{$operationInfo.house_id|default=$appointments.house_id}" >

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">顾问:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-adviser_id" data-rule="" data-field="name" class="form-control" name="row[adviser_id]" type="hidden" value="{$appointments.adviser_id}" readonly="">
            <input id="c-adviser_id_text" data-rule="" data-field="name" class="form-control" name="" type="text" value="{$appointments.advisername}" readonly="">
        </div>
    </div>

    <!-- </div> -->



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">皮肤现状:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-skin_text" class="form-control " rows="5" name="row[skin_text]" cols="50">{$operationInfo.skin_text|default=""}</textarea>
        </div>
    </div>
        <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">今日需解决的问题:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-problem" class="form-control " rows="5" name="row[problem]" cols="50">{$operationInfo.problem|default=""}</textarea>
        </div>
    </div>
        <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">操作注意细节:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-operate_detail" class="form-control " rows="5" name="row[operate_detail]" cols="50">{$operationInfo.operate_detail|default=""}</textarea>
        </div>
    </div>
        <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">建议居家用品:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-sug_goods" class="form-control " rows="5" name="row[sug_goods]" cols="50">{$operationInfo.sug_goods|default=""}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">备注:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remarks" class="form-control " rows="5" name="row[remarks]" cols="50">{$appointments.remarks}</textarea>
        </div>
    </div>

 
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">开单</button>
            <!-- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button> -->
        </div>
    </div>
</form>
